package com.example.crossborderecommerce.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.crossborderecommerce.entity.Admin;
import com.example.crossborderecommerce.entity.ProductAttribute;
import com.example.crossborderecommerce.entity.ProductBrand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yolanda
 * @since 2024-05-09
 */
@Mapper
public interface ProductBrandMapper extends BaseMapper<ProductBrand> {
    public List<Admin> findAdminsInProductBrand();
    public List<ProductBrand> getProductBrandByPage(Page<ProductBrand> page,
                                                            @Param("adminId") String adminId);
    public List<ProductBrand> getProductBrand(@Param("adminId") String adminId);

}
